{% extends "moko_base.html" %}
{% block head %}
  <script type="text/javascript">
  //<![CDATA[
  //]]>
  </script>
{% endblock %}
{% block body %}
	<div id="topgirl">
		<h1>{{model.name}}</h1>
		<div class="avatar"><img src="/img/{{model.avatar|imagename}}"></img></div>
		{% if not model.gender %}
		<h2>MOKO Top Girl</h2>
		{% endif %}
		{% for c in model.category %}
		<h3>{{c}}</h3>
		{% endfor %}
		{% if model.address %}
		<h3>Address:{{model.address}}</h3>
		{% endif %}
		{% if model.age %}
		<h3>age:{{model.age}}</h3>
		{% endif %}
		{% if model.visitcount %}
		<h3>Visit:{{model.visitcount}}</h3>
		{% endif %}
		<div class="photo count">[photos:{{model.get_photo_count}}]</div>
	</div>
	
	{% if photos %}
	<div id="photogallery">
		<ol>
		{% for p in photos %}
			<li><a href="{{p.url}}">Image Link</a></li>
		{% endfor %}
		</ol>
	</div>
	{% endif %}
	
{% endblock %}
{% block footer %}
{% endblock %}